home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / Sessions / Traut / ZStrings / Source / Win32 / Win32ZStringCompareTool.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-23  |  1.5 KB  |  57 lines

  1. /*==================================================================
  2.     File:        Win32ZStringCompareTool.cpp
  3.  
  4.     Contains:    Interface for the Win32ZStringCompareTool class
  5.  
  6.     Written by:    Hayley Iben
  7.  
  8.     Copyright:    2000-2001 Connectix Corporation
  9.     
  10.     This source has been placed into the public domain by
  11.     Connectix Corporation. You have the right to modify, 
  12.     distribute or use this code without any legal limitations
  13.     or finanicial/licensing requirements. Connectix is not 
  14.     liable for any problems that result from the use of this 
  15.     code.
  16.     
  17.     If you have comments, feedback, questions, or would like
  18.     to submit bug fixes or updates to this code, please email
  19.     opensource@connectix.com.
  20. ==================================================================*/
  21.  
  22. #if !defined(AFX_WIN32ZSTRINGCompareTOOL_H__F1F2257C_844B_49AD_ABF9_2B26BEE98A3C__INCLUDED_)
  23. #define AFX_WIN32ZSTRINGCompareTOOL_H__F1F2257C_844B_49AD_ABF9_2B26BEE98A3C__INCLUDED_
  24.  
  25. #if _MSC_VER > 1000
  26. #pragma once
  27. #endif // _MSC_VER > 1000
  28.  
  29. #include "ZStringData.h"
  30.  
  31. class Win32ZStringCompareTool  
  32. {
  33. public:
  34.     Win32ZStringCompareTool();
  35.     virtual ~Win32ZStringCompareTool();
  36.  
  37.     bool
  38.     CompareZStrings(
  39.         CString            inSrcFile,
  40.         CString            inCmpFile,
  41.         CString            inDestFile,
  42.         ZToolOptions    inOptions);
  43.  
  44. private:    
  45.     HANDLE                mNewFile;
  46.     HANDLE                mOldFile;
  47.  
  48.     HANDLE                mNewMemFile;
  49.     HANDLE                mOldMemFile;
  50.  
  51.     char *                mNewBinaryImage;
  52.     char *                mOldBinaryImage;
  53. };
  54.  
  55. #endif // !defined(AFX_WIN32ZSTRINGCompareTOOL_H__F1F2257C_844B_49AD_ABF9_2B26BEE98A3C__INCLUDED_)
  56.  
  57.